package com.itqf.bean;

/**
 * projectName: SpringMVCTest02
 * @author: 元
 * time: 2021/7/5 0005 20:12
 * description:账单实体类
 */
public class Bill {
    private Integer id;
    private String name;
    private Integer pid;
    private String state;
    private String time;
    private String money;

    public Bill() {}
    private Provider provider;

    public Provider getProvider() {
        return provider;
    }

    public void setProvider(Provider provider) {
        this.provider = provider;
    }

    public Bill(Integer id, String name, Integer pid, String state, String time, String money) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.state = state;
        this.time = time;
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Bill{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", state='" + state + '\'' +
                ", time='" + time + '\'' +
                ", money='" + money + '\'' +
                ", provider=" + provider +
                '}';
    }
}
